import java.util.Scanner;

public class text5 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个你要查找的数字");
        int number = sc.nextInt();
        int[] arr = {15, 59, 65, 75, 62, 45, 31, 57};
        boolean x = contains(arr, number);
        System.out.println(x);
    }

    public static boolean contains(int[] arr, int number) {
        for (int j : arr) {
            if (j == number) {
                return true;
            }
        }
        return false;
    }
}
